<?php
include "connect.php";

$id = $_POST["id"];
$name = $_POST["name"];
$email = $_POST["email"];
$tell = $_POST["tell"];
$content = $_POST["content"];

//插入数据
$sql = "INSERT INTO messa VALUES('$id' ,'$name','$email','$tell','$content',now())";
//执行sql
$result = mysqli_query($link,$sql);
if($result){
    echo "插入成功";
}else{
    echo "插入失败，失败原因".mysqli_error($link);;
}